package com.cloud.reconciliation.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

@ConfigurationProperties(prefix = "reconciliation")
public class ReconciliationConfig {

    /**
     * 微信对账文件
     */
    private List<WeiXinProperties> weiXin = new ArrayList<>();

    /**
     * 阿里对账文件
     */
    private List<AliPayProperties> aliPay = new ArrayList<>();

    @Data
    public static class WeiXinProperties {
         private String appId;
         private String mchId;
    }

    @Data
    public static class AliPayProperties {

    }
}
